package com.example.joke

import android.content.Intent
import com.example.joke.frame.BaseSkinActivity
import com.example.joke.databinding.ActivityMainBinding

class OneActivity : BaseSkinActivity<ActivityMainBinding>() {
    override fun setListener() {
        TODO("Not yet implemented")
    }


    override fun initData() {

    }

    override fun initTitle() {
        binding.tv.text = "第一页"
        binding.iv.setOnClickListener {
            startActivity(Intent(this, MainActivity::class.java))
        }
    }

    override fun getBinding1(): ActivityMainBinding {
        return ActivityMainBinding.inflate(layoutInflater)
    }
}